package main

import (
	"fucker/frame/comp"
	"fucker/frame/execute"
)

func main() {
	//a := app.New()
	//w := a.NewWindow("Hello")
	//
	//hello := widget.NewLabel("Hello Fyne!")
	//w.SetContent(container.NewVBox(
	//	hello,
	//	widget.NewButton("Hi!", func() {
	//		hello.SetText("Welcome :)")
	//	}),
	//))
	//
	//w.ShowAndRun()
	p := "./config.json"
	comp.StartFromConfigFile(p)
}

func init() {
	script := "./func.js"
	execute.Init0(script)
}
